package org.example.infrastructure.dao;

import org.apache.ibatis.annotations.Mapper;
import org.example.domain.trade.model.entity.NotifyTaskEntity;
import org.example.infrastructure.dao.po.NotifyTask;

import java.util.List;

@Mapper
public interface INotifyTaskDao {

    void insert(NotifyTask notifyTask);

    List<NotifyTask> queryUnExecuteNotifytaskList();

   NotifyTask queryUnExecutedNotifyTaskByteamId(String teamId);

    int updateNotifyTaskStatusSuccess(String teamId);
    int updateNotifyTaskStatusError(String teamId);
    int updateNotifyTaskStatusRetry(String teamId);


}
